<template>
	<view class="card"><u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs></view>
</template>
<script>
export default {
	name: 'card',
	data() {
		return {
			list: [
				{
					name: '待收货'
				},
				{
					name: '待付款'
				},
				{
					name: '待评价'
				}
			],
			current: 0
		};
	},
	methods: {
		change(index) {
			this.current = index;
		}
	},
	props: ['styles']
};
</script>
<style lang="scss" scoped>
.card {
}
</style>
